package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("sku编辑评估项目选项")
public class SkuEvaluateItemValueEditDTO {

    @ApiModelProperty(value = "skuItemValueId", required = true)
    @NotNull(message = "id不能为空")
    private Long skuItemValueId;

    @ApiModelProperty(value = "选项名称")
    private String valueName;

    @ApiModelProperty(value = "扣减数值")
    private BigDecimal value;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
